package com.meevle.events
{
        import flash.events.Event;

        public class Red5StreamEvent extends Event
        {
        	
        	public static const PUBLISH_START:String = "publishStart";
        	public static const PUBLISH_BAD_NAME:String = "publishBadName";
        	public static const UNPUBLISH_SUCCESS:String = "unpublishSuccess";
        	public static const UNPUBLISHED:String = "unpublished";
        	
            public var code:String;
    
            public function Red5StreamEvent(type:String, code:String) {
                super(type);
                this.code = code;
            }
            
            override public function clone():Event {
                return new Red5StreamEvent(type, code);
            }
    }
}